class Friend < User
  has_and_belongs_to_many :users, :join_table => "friends", :foreign_key => "to_id", :association_foreign_key => "from_id"
end
